.class Lde/dealdoktor/app/fragments/DetailFragment$2;
.super Ljava/lang/Object;
.source "DetailFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lde/dealdoktor/app/fragments/DetailFragment;->addCustomFields(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lde/dealdoktor/app/fragments/DetailFragment;

.field private final synthetic val$bookmark:Landroid/widget/ImageView;


# direct methods
.method constructor <init>(Lde/dealdoktor/app/fragments/DetailFragment;Landroid/widget/ImageView;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lde/dealdoktor/app/fragments/DetailFragment$2;->this$0:Lde/dealdoktor/app/fragments/DetailFragment;

    iput-object p2, p0, Lde/dealdoktor/app/fragments/DetailFragment$2;->val$bookmark:Landroid/widget/ImageView;

    .line 259
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    .line 262
    iget-object v0, p0, Lde/dealdoktor/app/fragments/DetailFragment$2;->this$0:Lde/dealdoktor/app/fragments/DetailFragment;

    iget-object v1, p0, Lde/dealdoktor/app/fragments/DetailFragment$2;->this$0:Lde/dealdoktor/app/fragments/DetailFragment;

    #getter for: Lde/dealdoktor/app/fragments/DetailFragment;->currentPost:Lde/dealdoktor/app/data/PostDAO;
    invoke-static {v1}, Lde/dealdoktor/app/fragments/DetailFragment;->access$0(Lde/dealdoktor/app/fragments/DetailFragment;)Lde/dealdoktor/app/data/PostDAO;

    move-result-object v1

    iget v1, v1, Lde/dealdoktor/app/data/PostDAO;->id:I

    iget-object v2, p0, Lde/dealdoktor/app/fragments/DetailFragment$2;->val$bookmark:Landroid/widget/ImageView;

    invoke-virtual {v0, v1, v2}, Lde/dealdoktor/app/fragments/DetailFragment;->toggleBookmarkStatus(ILandroid/widget/ImageView;)V

    .line 263
    return-void
.end method
